package package4;

public class Test {
    public static void main(String[] args) {
        Dog dog = new Dog();
        Cat cat = new Cat();
        dog.setName("旺财");
        dog.eat("骨头");
        dog.sleeo();
        dog.bark();
        cat.setName("小甜");
        cat.eat("鱼");
        cat.sleeo();
        cat.meow();
    }
}
